<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>新闻详情页</title>
		<link rel="stylesheet" type="text/css" href="./html/home/css/common.css" />
		<link rel="stylesheet" type="text/css" href="./html/home/css/public.css" />
		<link rel="stylesheet" type="text/css" href="./html/home/css/news_details.css" />
		<script language="JavaScript" type="text/javascript" src="./html/home/js/jquery-1.8.0.min.js"></script>
		<script type="text/javascript" src="./html/home/js/banner.js"></script>
	</head>
	<body>
		<div class="header">
			<div class="top">
				<div class="main">
					<span>浪生科学仪器有限公司欢迎您！</span>	
				</div>			
			</div>
			<div class="head_main">
				<div class="search">
						<form>
							<input class="text" type="text" />
							<input class="btn"  type="submit" value=""/>
						</form>
				</div>
				<div class="logo">
					<a href="index.php?m=home&c=index">
						<img src="<?php echo $other_row['logo']?>" alt="" />
					</a>
				</div>
			</div>
			<div class="nav">
				<ul>
					<li>
						<a href="index.php?m=home&c=index">首页</a>
					</li>
					<li>
						<a href="index.php?m=home&c=about">公司介绍</a>
					</li>
					<li>
						<a class="current" href="index.php?m=home&c=news">新闻中心</a>
					</li>
					<li>
						<a href="index.php?m=home&c=product">产品中心</a>
					</li>
					<li>
						<a href="index.php?m=home&c=contact">联系我们</a>
					</li>
				</ul>
			</div>
		</div>
		<div class="banner">
				<ul>
					<?php foreach($slideshow_rows as $k=>$v){?>
					<li>
						<a href="index.php?m=home&c=index"><img src="<?php echo $v['img']?>" alt="" /></a>
					</li>
					<?php }?>
				</ul>
				<ol>
					<li></li>
					<li></li>
					<li></li>
				</ol>
				<div class="prev"><a href="#"></a></div>
				<div class="next"><a href="#"></a></div>
			</div>
	<a name="news_details">
		<div class="content">
			<div class="location">
				<img src="./html/home/img/news_img.png" alt="">
				<h2>新闻中心</h2>
				<ul>
					<li>您的位置></li>
					<li><a href="index.php?m=home&c=news">新闻中心></a></li>
					<li><a class="current" href="#"><?php echo $cate_row['cateName']?></a></li>
				</ul>
			</div>
			<div class="menu">
				<ul>
					<?php foreach($cate_rows as $k=>$v){?>
					<li>
							<a 
					<?php if($cate_id==$v['id']){?>class="current"<?php }?> 
							href="index.php?m=home&c=news_details&cate_id=<?php echo $v['id']?>&#news_details">
                           <?php echo $v['cateName']?>
							</a>
					</li>
				   <?php }?>
				</ul>
			</div>
			
			<div class="top">
				<h1><?php echo $news_row['title']?></h1>
				<p><?php echo $time[0]?>年<?php echo $time[1]?>月<?php echo $time[2]?>日     
				<span>来源：<?php echo $news_row['source']?></span></p>
			</div>
			<div class="main">
				<img src="<?php echo $news_row['img']?>" alt=""/>
				<?php echo $news_row['content']?>
			
			</div>
           

			<div class="flip">
               <?php if($last){?>
				<a class="prev" href="index.php?m=home&c=news_details&id=<?php echo $last['id']?>&#news_details">
				上一篇：<?php echo $last['title']?></a>
               <?php }?>
               <?php if($next){?>
				<a class="next" href="index.php?m=home&c=news_details&id=<?php echo $next['id']?>&#news_details">
				下一篇：<?php echo $next['title']?></a>
                <?php }?>
			</div>

		</div>	
		<div class="footer">
			<div class="main">
				<div class="code">
					<img src="<?php echo $other_row['barcode']?>" alt="">
					<p><?php echo $other_row['barcodeName']?></p>
				</div>
				<div class="nav">
					<ul>
						<li>
							<a href="index.php?m=home&c=index">首页</a>
						</li>
						<li>
							<a href="index.php?m=home&c=about">公司介绍</a>
							<span>∣</span>
						</li>
						<li>
							<a href="index.php?m=home&c=news">新闻中心</a>
							<span>∣</span>
						</li>
						<li>
							<a href="index.php?m=home&c=product">产品中心</a>
							<span>∣</span>
						</li>
						<li>
							<a href="index.php?m=home&c=contact">联系我们</a>
							<span>∣</span>
						</li>
					</ul>
				</div>
				<div class="copyright">©2003-2017 苏ICP备09087770号</div>
			</div>
		</div>
	</body>
</html>
